<!-- $Id: announcement_list.htm 14216 2008-03-10 02:27:21Z testyang $ -->

{if $full_page}

{include file="pageheader.htm"}

{insert_scripts files="../js/utils.js,listtable.js"}

 <!--<div class="form-div">

  <form action="javascript:search_ad()" name="searchForm">

    <img src="images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />

    位置 <select name="position_id">

    <option value="">请选择</option>

     {foreach from=$ad_position_list item=position}

      <option value="{$position.position_id}">{$position.position_name}</option>

      {/foreach}

    </select>

    &nbsp;&nbsp;站点&nbsp;&nbsp;

   <select name="city_id" id="selCities" >

          <option value=''>请选择</option>

            {foreach from=$cities item=region}

              <option value="{$region.region_id}" {if $region.region_id eq $announcement.city_id}selected="selected"{/if}>{$region.region_name}</option>

            {/foreach}



        </select>

  

    <input type="submit" value="{$lang.button_search}" class="button" />

  </form> 

</div>-->
<a href="announcement.php?act=add" >添加公告</a>

<form method="post" action="" name="listForm">

<div class="list-div" id="listDiv">

{/if}



<table cellpadding="3" cellspacing="1">

  <tr>

    <th><a href="javascript:listTable.sort('id'); ">编号</a>{$sort_id}</th>

    <th>公告标题</th>
	
	<th>添加时间</th>
	
    <th>{$lang.handler}</th>

  </tr>

  {foreach from=$announcement_list item=list}

  <tr>
    <td align="center" class="first-cell">{$list.id}</td>

    <td align="center"><span>{$list.title|escape:html}</span></td>
	<td align="center">{$list.add_time}</td>
    <td align="center" class="bnt_a"><span>

      <a href="announcement.php?act=edit&id={$list.id}" title="{$lang.edit}">{$lang.edit}</a>

    </td>

  </tr>

  {foreachelse}

    <tr><td colspan="6" align="center" class="no-records">还没有公告！！！</td></tr>

  {/foreach}

  <tr>

    <td align="right" nowrap="true" colspan="6">{include file="page.htm"}</td>

  </tr>

</table>



{if $full_page}

</div>

</form>

<script type="text/javascript" language="JavaScript">

  listTable.recordCount = {$record_count};

  listTable.pageCount = {$page_count};



  {foreach from=$filter item=item key=key}

  listTable.filter.{$key} = '{$item}';

  {/foreach}

  {literal}

  onload = function()

  {

    // 开始检查订单

    startCheckOrder();

  }

  {/literal}

</script>

{include file="pagefooter.htm"}

{/if}

